<template>
  <div style="padding: 100px">
    test3
    <br>
    {{state}}
  </div>
</template>

<script setup>
import {reactive, ref, onMounted, defineProps, defineEmits, nextTick} from "vue";
import { useRoute, useRouter } from 'vue-router';
const route = useRoute();
const router = useRouter();

const state = reactive({
  stuId: 0,
})
onMounted(() => {
  state.stuId = route.query.stuid || 0;
});
</script>

<style lang="scss" scoped>

</style>
